package com.foreverwin.mes.so.mapper;

import com.foreverwin.mes.so.model.ShopOrderDispatchDetail;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 工单派工明细表 Mapper 接口
 * </p>
 *
 * @author Syngna
 * @since 2020-02-06
 */
@Repository
public interface ShopOrderDispatchDetailMapper extends BaseMapper<ShopOrderDispatchDetail> {

    List<ShopOrderDispatchDetail> selectByShopOrder(@Param("site") String site, @Param("shopOrder") String shopOrder);

    List<ShopOrderDispatchDetail> selectVisibleByResource(@Param("site") String site, @Param("resrce") String resrce);

    List<ShopOrderDispatchDetail> selectByIds(@Param("handleList") List<String> handleList);
}